//
//  NSError+HttpRequest.h
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/12/3.
//  Copyright © 2018 guoshikeji. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSError (HttpRequest)
/**
 处理AF框架请求返回的错误，非服务器返回错误
 */
+ (NSError *)handleAFErrorWithDataTask:(NSURLSessionDataTask *)dataTask error:(NSError *)error;

@end

NS_ASSUME_NONNULL_END
